package com.jiyun.baodian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.pojo.baodian.BaoDian;
import com.jiyun.pojo.luyin.Luyin;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 文件名:BaodianMapper
 * 创建者: 闫俊涛
 * 创建时间:2022/6/27 18:55
 * 描述:这是一个实例
 */
@Mapper
public interface BaodianMapper extends BaseMapper<BaoDian> {
    @Insert("INSERT INTO `xiaochengxu-admin`.`tb_yuyin`(`null`, `yytime`, `yyfile`, `gid`, `name`) " +
            "VALUES (null, '#{yytime}', '#{yyfile}', #{gid}, '#{name}');")
    BaoDian add(Luyin luyin);
}
